Self-stabilizing Labeling and Ranking in Ordered Trees

نویسندگان

  • Ajoy Kumar Datta
  • Stéphane Devismes
  • Lawrence L. Larmore
  • Yvan Rivierre
چکیده

We give two self-stabilizing algorithms for tree networks. The first computes an index, called guide pair, for each process P in O(h) rounds using O(δP log n) space per process, where h is the height of the tree, δP the degree of P , and n the number of processes in the network. Guide pairs have numerous applications, including ordered traversal or navigation in the tree. Our second algorithm, which uses the guide pairs computed by the first algorithm, solves in O(n) rounds the ranking problem for an ordered tree, where each process has an input value. This second algorithm has space complexity O(b+δP log n) in each process P , where b is the number of bits needed to store an input value. The first algorithm orders the tree processes according to their topological positions. The second algorithm orders (ranks) the processes according to their input values.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Polynomial-Time Space-Optimal Silent Self-Stabilizing Minimum-Degree Spanning Tree Construction

Motivated by applications to sensor networks, as well as to many other areas, this paper studies the construction of minimum-degree spanning trees. We consider the classical noderegister state model, with a weakly fair scheduler, and we present a space-optimal silent self-stabilizing construction of minimum-degree spanning trees in this model. Computing a spanning tree with minimum degree is NP...

متن کامل

Space-Optimal Silent Self-stabilizing Spanning Tree Constructions Inspired by Proof-Labeling Schemes

We present a general roadmap for the design of space-optimal polynomial-time silent self-stabilizing spanning tree constructions. Our roadmap is based on sequential greedy algorithms inspired from the design of proof-labeling schemes. Context and objective. One desirable property for a self-stabilizing algorithm is to be silent, that is, to keep the individual state of each process unchanged on...

متن کامل

Ranking and Unranking of Lexicographically Ordered Words: An Average-Case Analysis

We consider all words of length n of a formal language. If these words are arranged according to the lexicographical order, then ranking means to determine the position of a word of the language. Unranking is the inverse operation of ranking. For a given formal language we compute the average length of the minimal preex of a word to be read to determine its position, if the word is read from le...

متن کامل

Ranking and Unranking Functions for Ordered Decision Trees with Applications to Circuit Synthesis

In the form of a self-contained literate Haskell program (available at http://logic.csci.unt.edu/tarau/research/2009/fOBDT.hs), we explore natural number encodings of boolean functions and logic circuit representations. Using pairing and unpairing functions on natural number representations of truth tables, we derive an encoding for Ordered Binary Decision Trees (OBDTs) with the unique property...

متن کامل

Generation, Ranking and Unranking of Ordered Trees with Degree Bounds

We study the problem of generating, ranking and unranking of unlabeled ordered trees whose nodes have maximum degree of ∆. This class of trees represents a generalization of chemical trees. A chemical tree is an unlabeled tree in which no node has degree greater than 4. By allowing up to ∆ children for each node of chemical tree instead of 4, we will have a generalization of chemical trees. Her...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011